.my-resumes-container {
  padding: 20px;
  min-height: calc(100vh - 60px);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.resume-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  height: calc(100vh - 100px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.section-header {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 600;
}

.resume-list-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.resume-list {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  overflow-y: auto;
  padding-right: 8px;
}

/* 自定义滚动条 */
.resume-list::-webkit-scrollbar {
  width: 6px;
}

.resume-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.resume-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.resume-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.pagination-container {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding-top: 20px;
  margin-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* PDF简历网格布局 - 紧凑卡片式 */
.pdf-resume-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px;
  overflow-y: auto;
  flex: 1;
  align-content: flex-start;
}

/* 自定义滚动条 - PDF区域 */
.pdf-resume-grid::-webkit-scrollbar {
  width: 6px;
}

.pdf-resume-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.pdf-resume-grid::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.pdf-resume-grid::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* PDF简历卡片 - 小卡片样式 */
.pdf-resume-card {
  width: 180px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  flex-shrink: 0;
}

.pdf-resume-card:hover {
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
  transform: translateY(-3px);
}

/* 卡片头部 */
.pdf-card-header {
  padding: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
}

.pdf-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 6px;
  color: white;
  font-size: 20px;
}

.pdf-actions-icon {
  display: flex;
  gap: 4px;
}

.action-icon-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: white;
  color: #667eea;
  transition: all 0.3s ease;
}

.action-icon-btn:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: scale(1.1);
}

.action-icon-btn.el-button--danger {
  color: #f56c6c;
}

.action-icon-btn.el-button--danger:hover {
  background: #f56c6c;
  color: white;
}

/* 卡片主体 */
.pdf-card-body {
  padding: 12px;
  flex: 1;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pdf-card-body:hover {
  background: #f8f9fa;
}

.pdf-title {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

.pdf-meta {
  margin: 0 0 4px 0;
  font-size: 12px;
  color: #667eea;
  font-weight: 500;
}

.pdf-date {
  margin: 0;
  font-size: 11px;
  color: #999;
}

/* 上传对话框样式 */
.upload-area {
  width: 100%;
}

:deep(.el-upload-dragger) {
  width: 100%;
  padding: 40px;
}

.el-icon--upload {
  font-size: 67px;
  color: #667eea;
  margin-bottom: 16px;
}

.el-upload__text {
  color: #666;
  font-size: 14px;
}

.el-upload__text em {
  color: #667eea;
  font-style: normal;
}

.el-upload__tip {
  margin-top: 8px;
  color: #999;
  font-size: 12px;
}

/* Empty 状态 */
:deep(.el-empty) {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

:deep(.el-empty__description) {
  margin-top: 16px;
}

/* 分页样式优化 */
:deep(.el-pagination) {
  font-weight: normal;
}

:deep(.el-pagination .btn-prev),
:deep(.el-pagination .btn-next),
:deep(.el-pagination .el-pager li) {
  background: transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
}

:deep(.el-pagination .el-pager li:hover),
:deep(.el-pagination .btn-prev:hover),
:deep(.el-pagination .btn-next:hover) {
  background: #f0f0f0;
}

:deep(.el-pagination .el-pager li.is-active) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* 按钮样式 */
.el-button {
  border-radius: 6px;
  padding: 10px 20px;
}

/* 响应式 */
@media (max-width: 992px) {
  .my-resumes-container {
    padding: 12px;
  }
  
  .resume-section {
    min-height: auto;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .uploaded-resume-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .pdf-icon {
    margin-right: 0;
  }
  
  .resume-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

